/*
 * Copyright (c) 2024. hallele, Inc All rights reserved.
 */

package cn.hallele.ms.infrastructure.auditlog.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * hallele_mc_core
 *
 * @author anle5
 * @since 2024/9/28 16:13
 */
@Getter
@Setter
@ConfigurationProperties(prefix = "hal.ms.infrastructure.audit-log")
public class AuditLogProperties {
    /**
     * audit默认的队列名,默认值为audit-out-0
     */
    private String bindingName = "audit-out-0";

    /**
     * json序列化黑名单
     */
    private List<String> serializeBlacklistClass;

    /**
     * json序列化白名单
     */
    private List<String> serializeWhitelistClass;
}
